Sharepoint interview questions for experienced/Sharepoint Interview Questions and Answers for Freshers & Experienced

Can A List Definition Be Derived From A Custom Content Type?

Yes, a list definition can derive from a content type which can be seen in the schema.XML of the list definition in the element.

Posted Date:- 2021-09-25 12:50:23

What Is An Ancestral Type And What Does It Have To Do With Content Types?

An ancestral type is the base type that the content type is deriving from, such as Document (0×0101). The ancestral type will define the metadata fields that are included with the custom content type.

Posted Date:- 2021-09-25 12:49:46

What Two Files Are Typically (this Is Kept Generally) Included When Developing A Content Type, And What Is The Purpose Of Each?


There is generally the main content type file that holds things like the content type ID, name, group, description, and version. There is also the ContentType.Fields file which contains the fields to include in the content type that has the ID, Type, Name, DisplayName, StaticName, Hidden, Required, and Sealed elements. They are related by the FieldRefs element in the main content type file.

Posted Date:- 2021-09-25 12:49:04

What deployment mechanism can you use to instigate Code Access Security attributes for your WebParts?

SharePoint solution files can add in order to handle code access security deployment issues. This is done in the element in the SharePoint solution manifest.XML, which makes it easier to get assemblies the appropriate permissions in order to operate in the bin directory of the web application.

Posted Date:- 2021-09-25 12:48:18

Can A Content Type Have Receivers Associated With It?


Yes, a content type can have an event receiver associated with it, either inheriting from the SPListEventReceiver base class for list level events, or inheriting from the SPItemEventReceiver base class. Whenever the content type is instantiated, it will be subject to the event receivers that are associated with it.

Posted Date:- 2021-09-25 12:47:34

What Is A Content Type?


A content type is an information blueprint basically that can be re-used throughout a SharePoint environment for defining things like metadata and associated behaviors. It is basically an extension of a SharePoint list, however makes it portable for use throughout an instance regardless of where the instantiation occurs, ergo has location independence.

Multiple content types can exist in one document library assuming that the appropriate document library settings are enabled. The content type will contain things like the metadata, listform pages, workflows, templates (if a document content type), and associated custom written functionality.

Posted Date:- 2021-09-25 12:46:50

How Could You Append A String To The Title Of A Site When It Is Provisioned?

In the OnActivated event:

C#

< view plain text >

SPWeb site = siteCollection.RootWeb;

site.Title+=”interview”;

site.Update();

Posted Date:- 2021-09-25 12:44:29

When retrieving List items using SharePoint Web Services, how do you specify explicit credentials to be passed to access the list items?

In order to specify explicit credentials with a Web Service, you generally instantiate the web service, and then using the credentials properties of the Web Service object you use the System.Net.NetworkCredential class to specify the username, password, and domain that you wish to pass when making the web service call and operations.

Posted Date:- 2021-09-25 12:43:53

Would you use SPWebApplication to get information like the SMTP address of the SharePoint site?

Yes, since this is a Web Application level setting. You would iterate through each SPWebApplication in the SPWebApplication collection, and then use the appropriate property calls (OutboundMailServiceInstance) in order to return settings regarding the mail service such as the SMTP address.

Posted Date:- 2021-09-25 12:42:37

What Base Class Do Event Receivers Inherit From?


Event receivers either inherit from the SPListEventReceiver base class or the SPItemEventReceiver base class, both which derive from the abstract base class SPEventReceiverBase.

Posted Date:- 2021-09-25 12:42:05

What Are Event Receivers?


Event receivers are classes that inherit from the SpItemEventReceiver or SPListEventReceiver base class (both of which derive out of the abstract base class SpEventReceiver Base), and provide the option of responding to events as they occur within SharePoint, such as adding an item or deleting an item.

Posted Date:- 2021-09-25 12:41:35

What Is A .ddf File And What Does It Have To Do With Sharepoint Solution Creation?

A .ddf file is a data directive file and is used when building the SharePoint solution bundle specifying the source files and their destination locations. The important thing for someone to understand is that the .ddf file will be passed as a parameter to the MAKECAB utility to orchestrate construction of the SharePoint solution fiel.

Posted Date:- 2021-09-25 12:40:55

What Is A Sharepoint Solution File? How Does It Differ From Webpart .cab Files In Legacy Development? What Does It Contain?

A SharePoint solution file is essentially a .cabinet file with all a developers ustom componets suffixed with a .wsp extension that aids in deployment. The big difference with SharePoint solution files is is that a solution:allows deployment to all WFE’s in a farmis highly manageable from the interface allowing deployment, retraction, and versioningCan package all types of assets like site definitions, feature definitions (and associated components), Webparts, etc.

Posted Date:- 2021-09-25 12:39:43

What Are Classresources? How Do You Reference And Deploy Resources With An Asp.net 2.0 Webpart?


ClassResources are used when inheriting from the SharePoint.WebPart.WebPartPages.WebPart base class, and are defined in the SharePoint solution file as things that should be stored in the wpresources directory on the server. It is a helpful directory to use in order to deploy custom images. In ASP.NET 2.0, typically things such as images are referenced by embedding them as resources within an assembly. The good part about ClassResources is they can help to eliminate recompiles to change small interface adjustments or alterations to external JavaScript files.

Posted Date:- 2021-09-25 12:39:11

What are the web parts in SharePoint?

SharePoint webpart allows you to add and modify the content, appearance, and behavior of the pages in a SharePoint site by using the browser.

Posted Date:- 2021-09-25 12:35:25

What is the workflow?

SharePoint workflow helps people to collaborate on documents and manage project tasks by implementing business processes on documents in a SharePoint site. It also improves organizational efficiency and productivity by managing tasks.

Posted Date:- 2021-09-25 12:34:55

Differentiate between SharePoint and Confluence?

A confluence is a bottom-up approach whereas Sharepoint is a top-bottom approach and allows add-ons from third parties too. There is no controlled intranet and microblogging in Confluence.

Posted Date:- 2021-09-25 12:32:16

What is the maximum limit for a content database per farm?

A farm can have a maximum of 500 content databases.

Posted Date:- 2021-09-25 12:31:34

What is a timer job?

A timer job is a job that is executed periodically. For eg, sending of emails after regular intervals, data updation every day, creation of reports every week, etc.

Posted Date:- 2021-09-25 12:30:56

How the Edit and Contribute permissions are different from each other?

1. Edit: With the help of Edit permission, a user can add, delete, and edit lists; can view, add, delete, and update list items and documents.

2. Contribute: With contribute permission, a user can view, add, delete, and update the list of items and documents.

Posted Date:- 2021-09-25 12:27:39

What is Alternate Access Mapping in SharePoint?

Alternate access mappings provide different URLs for the same SharePoint site. It was implemented due to the common scenarios where the URL of a web request received by IIS differs from the URL typed by the user.

Posted Date:- 2021-09-25 12:26:59

Differentiate between auto-hosted, provider-hosted, and SharePoint-hosted?

1. Auto Hosted apps are cloud-hosted apps.
2. Provider Hosted apps are deployed and hosted outside the Sharepoint Farm.
3. SharePoint hosted apps are the apps that are hosted either on-premise or on office 365 SharePoint farm.

Posted Date:- 2021-09-25 07:44:00

What is a hybrid search in SharePoint?

With this amazing feature in SharePoint, a user can search files and documents across Microsoft 365 and SharePoint server simultaneously

Posted Date:- 2021-09-25 07:43:14

What is FBA authentication?

FBS stands for Form-Based Authentication which is a process where a user has to fill all the credentials presented in a custom HTML page. If credentials are right as per the web application, then the user gets access.

Posted Date:- 2021-09-25 07:42:52

How are CustomMasterUrl and MasterUrl different from each other?

1. CustomMasterUrl: used to change the layout of admin pages.

2. MasterUrl: used to change the layout of all end-user pages.

Posted Date:- 2021-09-25 07:42:27

Which command is used to take backup and restore the SharePoint site?

A command used for Backup:

stsadm -o backup -url http://moss:4002/ -filename c:bkupsite.bak

Command to restore :

stsadm -o restore -url http://moss:4004/ -filename c:bkupsite.bak

Posted Date:- 2021-09-25 07:40:13

What is an ancestral type and how it is related to content types?

It is a base type from where the content type is derived. An ancestral type defines the metadata fields within the custom content type.

Posted Date:- 2021-09-25 07:39:10

What is the ideal location to initialize new controls while creating a WebPart?

Override the CreateChildControls method to initialize new controls. Also, you can control the exact rendering by calling the Render method in web parts.

Posted Date:- 2021-09-25 07:38:37

What is the purpose of the WebPartManager sealed class?

WebPartManager is known as the central class of the Web Part Control Set and is responsible for everything occurring on a WebPart Page such as events, controls, and functionalities.

Posted Date:- 2021-09-25 07:38:11

In a workflow, how method activity and event activity are different?

When we perform some actions like creating or updating a task is called a method activity. An event activity is the one that occurs in response to an action.

Posted Date:- 2021-09-25 07:37:49

How much memory is needed for distributed cache and what will happen if it is stopped?

When the SharePoint server is installed, it allows ten percent of the total physical memory to distributed cache. If the distributed cache is stopped, the user will see runtime error, access denied page loading slowly, no newsfeed, and so on.

Posted Date:- 2021-09-25 07:37:13

What is the limit of the SharePoint list or library, and what happens if we increase the limit?

The threshold limit for SharePoint list is 5000, which means when a user clicks/ opens a document library or list, he/she can see 5000 items at a time. If the limit is increased, it will display more, but performance will be affected.

Posted Date:- 2021-09-25 07:36:29

List out some SharePoint site monitoring tools?

1. Application Insights
2. SCOM
3. Appdynamics
4. OfficeMax

Posted Date:- 2021-09-25 07:36:08

How to enable audit log settings in SharePoint Online?

In SharePoint Online, Open your Microsoft 365 admin center and go to Report -> Usage. And then under SharePoint files, click on view more and then select Site usage. Here you will be able to see the SharePoint Usage Reports.

Previously, there were options to enable audit settings from the SharePoint Online site collection. But that option is disabled by Microsoft. The option was available in the Site Settings page under the Site Collection Administration, link as “Site collection audit settings“.

Posted Date:- 2021-09-25 07:35:04

What is difference between edit and contribute permission in SharePoint Online?

The major difference between edit and contribute permission is that, with Edit permission, user will be able to create, edit and delete a list. But with SharePoint contribute permission, users will not be able to create list. With contribute permission, you can be able to work with list items in SharePoint Online.

Posted Date:- 2021-09-25 07:34:32

What is a site column and how to create a site column in SharePoint Online?

A SharePoint site column is a reusable column that we can use in any list and library in the site and any nested subsite under the SharePoint site. By creating a site column at the site level we can use that in any lists and libraries of the current site and child sites in SharePoint.

Posted Date:- 2021-09-25 07:33:35

Difference between a communication site and team site in SharePoint Online

As the name suggests, team sites are for a particular team, for example, your HR team, Dev team, or IT team where team members can able to sharing, storing, collaborating information on files from anywhere and any device.

We create communication sites, when we want to share news, information with a larger audience. Like for example, you want to create a site for your entire organization and want to share information, so that everyone can see it.

Posted Date:- 2021-09-25 07:33:13

How to create a communication site in SharePoint Online?

We can create a communication site from the SharePoint Online admin center, and follow this article to know more.

Posted Date:- 2021-09-25 07:32:44

What is a communication site in SharePoint Online?

Microsoft provides communication site templates, that we can use to share information with large audience. SharePoint communication sites are more visually attractive.

We can use SharePoint Communication site is to share content, news, report, status with people across the organization.

Posted Date:- 2021-09-25 07:32:20

How to fetch ULS logs using Correlation ID in SharePoint online?

In SharePoint On-premise, we can fetch ULS logs using Correlation ID in SharePoint by running the below PowerShell cmdlets.

Connect-SPOService -Url https://<tenantname>-admin.sharepoint.com -credential yourusername@<tenantname>.onmicrosoft.com

Posted Date:- 2021-09-25 07:31:52

How to connect to SharePoint Online using PnP PowerShell?

To work with SharePoint Online from PowerShell, we need to install SharePoint Online management shell. Once you installed successfully, you can run the below cmdlet to connect to SharePoint Online sites.

Connect-SPOService -Url https://<tenantname>-admin.sharepoint.com -credential yourusername@<tenantname>.onmicrosoft.com

Posted Date:- 2021-09-25 07:31:28

List some of the SharePoint online PowerShell commands?

> get-sposite
> Set-sposite
> Get-spouser
> Set-spouser
> Remove-spouser

Posted Date:- 2021-09-25 07:31:05

What are the crawl types in SharePoint?

Crawl is the process of accumulating content for search. To fetch the information, the crawl component connects to the content sources and passes crawled items to the content processing component. There are three main types of SharePoint Crawl - Full Crawl, Continuous crawl, and Incremental crawl.

During the full crawl, the search engine crawls to index each item regardless of previous crawl status. The incremental crawler will enable the crawler to cover only newly created or modified items. Continuous crawl regularly checks the items after every 15 minutes and takes instant action and sends it to the content processor.

Posted Date:- 2021-09-25 07:30:15

What is the difference between OneDrive for Business and SharePoint?

Microsoft also provides cloud storage service as OneDrive and OneDrive for Business. OneDrive is for personal use and OneDrive for Business is intended for organization use.

SharePoint provides a lot of other features like document management, business process solution, etc.

Posted Date:- 2021-09-25 07:29:54

How ULS logs and IIS logs are different?

IIS logs store all data related to HTTP requests made by users. ULS logs will contain details once the user is validated by IIS. It stores all details such as SharePoint services and applications.

Posted Date:- 2021-09-25 07:29:09

How to work with Rest API in SharePoint Online?

Like JSOM, Rest API is another client object model to work with SharePoint data. By using Rest API, we can interact remotely with SharePoint sites. We just need to construct a RESTful HTTP request, using the Open Data Protocol (OData) standard.

Posted Date:- 2021-09-25 07:28:28

How to work with jsom in SharePoint Online?

JSOM stands for JavaScript object model and we can use jsom to display, insert, update, delete and manage SharePoint data,

To use JSOM in SharePoint site, we need the sp.js file that is located by default in the LAYOUTS folder.

Posted Date:- 2021-09-25 07:27:04

What is difference between host web and app web in SharePoint Online?

It is very much necessary to understand the difference between host web and app web in SharePoint Online.

<> Host Web: This is the SharePoint site, where the app will be installed and it is always the tenant domain name.

<> App Web: On clicking of the apps, to which site we usually navigate is the app web. This is an isolated domain inside the host web. You will find a random guid that will be appended to the host web.

Posted Date:- 2021-09-25 07:26:29

What language or code we can use in provider hosted add-in in SharePoint Online?

In provider hosted add-in in SharePoint Online, we use the C#.Net language or the CSOM code. Here we use the below two dlls:

* Microsoft.SharePoint.Client.dll
* Microsoft.SharePoint.Client.ClientRuntime.dll

Posted Date:- 2021-09-25 07:25:58

Can we use SharePoint server object model code in SharePoint Add-ins or SharePoint Apps?

No, we cannot use SharePoint server object model code in SharePoint apps or add-ins. In SharePoint hosted add-in we can use JSOM code and in provider-hosted language we can use CSOM.

Posted Date:- 2021-09-25 07:25:37

Search
R4R Team
R4R provides Sharepoint Freshers questions and answers (Sharepoint Interview Questions and Answers) .The questions on R4R.in website is done by expert team! Mock Tests and Practice Papers for prepare yourself.. Mock Tests, Practice Papers,Sharepoint interview questions for experienced,Sharepoint Freshers & Experienced Interview Questions and Answers,Sharepoint Objetive choice questions and answers,Sharepoint Multiple choice questions and answers,Sharepoint objective, Sharepoint questions , Sharepoint answers,Sharepoint MCQs questions and answers R4r provides Python,General knowledge(GK),Computer,PHP,SQL,Java,JSP,Android,CSS,Hibernate,Servlets,Spring etc Interview tips for Freshers and Experienced for Sharepoint fresher interview questions ,Sharepoint Experienced interview questions,Sharepoint fresher interview questions and answers ,Sharepoint Experienced interview questions and answers,tricky Sharepoint queries for interview pdf,complex Sharepoint for practice with answers,Sharepoint for practice with answers You can search job and get offer latters by studing r4r.in .learn in easy ways .